package com.community.web.user.mapper;

import com.community.model.entity.Charge;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.community.web.user.vo.ChargeVo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
* @author admin
* @description 针对表【charge】的数据库操作Mapper
* @createDate 2024-07-02 10:56:56
* @Entity com.community.model.entity.Charge
*/
public interface ChargeMapper extends BaseMapper<Charge> {

    List<ChargeVo> getList(Long userId);

    BigDecimal sum(@Param("userId") Long userId, @Param("idList") List<Long> idList);
}




